package com.common.client;

import com.common.dto.OperationLogDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("aop-service")
public interface AopClient {
    /**
     * 保存操作日志
     */
    @PostMapping("/operation-log/saveLog")
    void saveLog(@RequestBody OperationLogDTO operationLog);
}
